package xcu.lxj.nettychat.user.domain.vo.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author XinJian Lei
 * @Date 2024/9/29 11:30
 * @Version 1.0
 */
@Data
@Schema(name = "登陆请求体")
public class LoginReq implements Serializable {

    @NotNull
    @Schema(description = "邮箱号",requiredMode = Schema.RequiredMode.REQUIRED)
    private String email;

    @NotNull
    @Schema(description = "密码",requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;

}
